package com.wsx.ones.cloud;

import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * 抽象父类的异常处理机制
 * Created by wangshuaixin on 17/5/14.
 */
public class AbstractBaseController {

    @ExceptionHandler
    public String exceptionHandler(Exception ex) {
        return "error";
    }
}
